package com.dfbz.netctoss.service;


import com.dfbz.netctoss.entity.Account;
import com.dfbz.netctoss.entity.AdminInfo;
import com.dfbz.netctoss.entity.Privilege;
import com.github.pagehelper.PageInfo;
import org.springframework.boot.autoconfigure.kafka.KafkaProperties;

import java.util.List;

public interface AdminInfoService {
    PageInfo<AdminInfo> selectPage(int pageNum, int pageSize);

    AdminInfo findByAdmincode(String admincode);

    AdminInfo findRolesByAdminCode(String adminCode);

    List<Privilege> selectAllPrivilegeByRId(Integer roleId);

    int updateDetail(AdminInfo adminInfo);
}
